<!-- Use Dataset page and Reports page status column format -->
<template>
  <div>
    <span :style="{color:comBackgroundColor($data.data.status)}">
      {{$data.data.status}}
    </span>
  </div>
</template>
<script>

export default {
  data () {
    return { }
  },
  created () { },
  methods: {
    comBackgroundColor (status) {
      switch (status) {
        case 'Requested':
          return 'black'
        case 'In-Dev':
          return 'red'
        case 'Alpha':
          return '#E6A23C'
        case 'Published':
          return 'green'
      }
    }
  }
}
</script>

<style>

</style>
